<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width,initial-scale=1.0,user-scalable=no" />
    <title>缘来</title>
    <meta name="format-detection" content="telephone=yes" />
    <style>
        * {
            margin: 0;
            padding: 0;
        }

        em,
        i {
            font-style: normal;
        }

        li {
            list-style: none;
        }

        img {
            border: 0;
            vertical-align: middle;
        }

        a {
            text-decoration: none;
        }

        button,
        input {
            font-family: Microsoft YaHei, Heiti SC, tahoma, arial, Hiragino Sans GB, "\5B8B\4F53", sans-serif;

        }

        html,
        body {
            -webkit-font-smoothing: antialiased;
            background-color: #fff;
            font: 12px/1.5 Microsoft YaHei, Heiti SC, tahoma, arial, Hiragino Sans GB, "\5B8B\4F53", sans-serif;
            color: #666;
            height: 100%;
        }
        /* 解决css设置图片宽度和高度变模糊(部分场景可能会导致更模糊，需手动设置处理)*/
        img{
            image-rendering: -moz-crisp-edges; /* Firefox */
            image-rendering: -o-crisp-edges; /* Opera */
            image-rendering: -webkit-optimize-contrast; /* Webkit (non-standard naming) */
            image-rendering: crisp-edges;    
            -ms-interpolation-mode: nearest-neighbor;
        }
    </style>
</head>

<script>
    var BASEAPPCODE = '<%= VUE_APP_APPCODE %>';
    var BASEAPPSERVERCODE = '<%= VUE_APP_APPSERVERCODE %>';
    var BASEAPPLOGONCODE = '<%= VUE_APP_LOGON_CODE %>';
    var BASEEXTURL = '<%= VUE_APP_REMOTE_BASE_URL %><%= VUE_APP_BASE_EXT_URL %>';
    var BASELOGONURL = '<%= VUE_APP_REMOTE_BASE_URL %><%= VUE_APP_BASE_LOGON_URL %>';

    var version = "20200310";
    // codova初始化
    var deviceReady = false;
    var isMapInited = false;

    function onDeviceReady() {
        console.log("调用js onDeviceReady");
        deviceReady = true;
    }

    function init() {
        document.addEventListener("deviceready", onDeviceReady, false);
    }
    window.onbeforeunload  =   function(e)  {
        // navigator.statusBar.changeNaviColor(null, function(msg) {}, '#3676f5', 1);      
        // return  null;    
    };
    document.addEventListener("deviceready", onDeviceReady, false);

</script>

<body onload="init()">
    <noscript>
        <strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work
        properly without JavaScript enabled. Please enable it to
        continue
        </strong>
    </noscript>
    <div id="app"></div>
    <script src="./pako.min.js"></script>
</body>

</html>

